package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * (专辑状态的枚举)
 * @author   gyp
 * @Date	 2017年12月27日
 */
public enum AlbumStateEnum implements IEnum {

	UNAUDITED(0, "未发布"), AUDITED(1, "已发布"), SUCCESS(2, "成功"), FAIL(3, "失败");
	private int key;
	private String value;

	private AlbumStateEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}

}
